/**
 * 
 */
package br.com.ac.fatureweb.view;

import java.util.Arrays;
import java.util.List;

import javax.annotation.PostConstruct;
import javax.faces.view.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;

import br.com.ac.fatureweb.integration.enums.EnumStatus;
import br.com.ac.fatureweb.model.Usuario;
import br.com.ac.fatureweb.service.NgcUsuarioBean;
import br.com.ac.fatureweb.utilitary.CrudDefaultBean;

/**
 * @author aldivone
 *
 */
@Named
@ViewScoped
public class UsuarioBean extends CrudDefaultBean<Usuario, NgcUsuarioBean> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7989531879272938668L;

	@Inject
	private NgcUsuarioBean ngcUsuarioBean;

	@PostConstruct
	public void inicialize() {
		setService(ngcUsuarioBean);
	}

	public List<EnumStatus> getLstEnumStatus() {
		return Arrays.asList(EnumStatus.values());
	}

}
